package com.its.employee.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.its.employee.pojo.Employee;

/**
* @author lenovo
* @description 针对表【gym_employee】的数据库操作Service
* @createDate 2025-04-22 22:30:01
*/
public interface EmployeeService extends IService<Employee> {

    //新增员工
    int addEmployeeService(Employee employee);

    //删除员工
    int deleteEmployeeService(Integer employeeAccount);

    //修改员工信息
    int updateEmployeeService(Employee employee);

    //根据员工账号查询员工信息
    Employee selectEmployeeByEmployeeAccount(Integer employeeAccount);

    //分页查询所有员工的信息
    Page<Employee> getAllEmployee(Integer page,Integer size);
}
